<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Package comment</title>
</head>
<body>
Contains logic to provide a REST API for the authorization module. (BETA!)<br/>
Be careful! This API is very likely to change!
<p>
To query the module for an authorization, simply issue the following HTTP-GET request:
<pre>http://[url-to-module]/acl/check?USERAUTHID=[user-id]&amp;CONTEXTID=[context-id]</pre>
The xml response will be in the following form:
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;response&gt;
  &lt;user&gt;
    &lt;authid&gt;
      [user-id]
    &lt;/authid&gt;
  &lt;/user&gt;
  &lt;context&gt;
    &lt;ctxid&gt;
      [context-id]
    &lt;/ctxid&gt;
  &lt;/context&gt;
  &lt;result&gt;
    [true/false]
  &lt;/result&gt;
&lt;/response&gt;
</pre>
Other API's for querying user/usergroup relations and context parent/child relations will follow. 
</body>
</html>